home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
DJLSR106.ARJ
/
HTON.S
< prev
next >
Wrap
Text File
|
1992-03-02
|
221b
|
19 lines
.globl _ntohl
_ntohl:
.globl _htonl
_htonl:
movl 4(%esp),%eax
xchgb %ah,%al
ror $16,%eax
xchgb %ah,%al
ret
.globl _ntohs
_ntohs:
.globl _htons
_htons:
movswl 4(%esp),%eax
xchgb %ah,%al
ret